<!DOCTYPE html>
<script src="../../../resources/js-test.js"></script>
<script src="resources/shadow-dom.js"></script>
<pre id="console"></pre>
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" width="100%">
  <circle id="circle" cx="128" cy="128" r="128"/>
</svg>
<script>
function handler(evnet) {
    debug(dumpNodeList(event.path));
}
circle.addEventListener('click', handler);
document.addEventListener('click', handler);
circle.dispatchEvent(new MouseEvent('click', {bubbles: true}));
</script>
